package persistence.rmi;

import java.rmi.Remote;
import java.rmi.RemoteException;
import persistence.Dictionnaire;
import persistence.Mot;
import persistence.Session;

public interface IntegrationRemote extends Remote {
	//public Message checkConnexionInfos(Utilisateur u) throws RemoteException;
	public String checkConnexionInfos(String userParam) throws RemoteException;
	public String getLangues() throws RemoteException;
	public Object getAllDictionnaires();
	public Object getMots(Dictionnaire d);
	public Object saveSession(Session s);
	public Object getIndice(Mot m);
	public String createAccount(String u) throws RemoteException;
	public String getIndiceByMotId(int idMot) throws RemoteException;
}
